<?if(!defined("PROLOG_INCLUDED") || PROLOG_INCLUDED!==true)die();
	IncludeModule('catalog');
	$arFilter = Array();
	if (!empty($arParams["CATALOG_TYPE"])) {
		$arFilter['CATALOG_TYPE_ID'] = $arParams["CATALOG_TYPE"];
	}
	$arResult = Catalog::GetList(Array(), $arFilter);
	//d($arFilter);
	//d($arResult);
    $this->getComponentTemplate($arResult);
?>